#include "Util.h"
#include <cstring>

char * Util::make(const std::string & str){
    uint8_t len = str.size();
    char * ret = new char[sizeof(uint8_t) + len];
    ret[0] = len;
    memcpy(ret+1, str.c_str(), len);
    return ret;
}
